package com.hao.desing.proxy.model1;

public class Client {


    public static void main(String[] args) {
        Host host=new Host();
        ProxyInvocationHandler pro=new ProxyInvocationHandler();
        pro.setObject(host);
        Host proxy = (Host) pro.getProxy();
        proxy.Rent();
    }
}
